// pages/user/user-balance/index.js
const app = getApp()

Page({
    /**
     * 页面的初始数据
     */
    data: {
        CustomBar: app.globalData.CustomBar,
        theme: app.globalData.theme, //全局颜色变量
        picker: ['南京市', '杭州市', '常州市'],
        index: 0,
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
        this.setData({
            theme: app.globalData.theme
        });
    },
    PickerChange(e) {
      console.log(e);
      this.setData({
        index: e.detail.value
      })
    },
    formSubmit: function (e) {
        const that = this
    },
})